{% if include.has_error == true %}{% include widgets/communication/alert-danger.html %}{% endif %}
<form class="form-horizontal">
  <div class="form-group">
    <label class="col-sm-2 control-label" for="{{include.id_default}}">Default</label>
    <div class="col-sm-10">
      <input type="text" id="{{include.id_default}}" class="form-control">
    </div>
  </div>
  <div class="form-group">
    <label class="col-sm-2 control-label" for="{{include.id_disabled}}">Disabled</label>
    <div class="col-sm-10">
      <input type="text" id="{{include.id_disabled}}" class="form-control" disabled></div>
  </div>
  <div class="form-group {% if include.has_error == true %}has-error{% endif %}">
    <label class="col-sm-2 control-label" for="{{include.id_error}}">{% if include.has_error == true %}With{% else %}No{% endif %} error</label>
    <div class="col-sm-10">
      <input type="text" id="{{include.id_error}}" class="form-control">
{% if include.has_error == true %}
      <span class="help-block">Please correct the error</span>
{% endif %}
    </div>
  </div>
  <div class="form-group">
    <div class="col-sm-offset-2 col-sm-10">
      <button type="submit" class="btn btn-primary">Primary Action</button>
      <button type="submit" class="btn btn-default">Secondary Action</button>
    </div>
  </div>
</form>
